package com.ysyx.ysyx_admin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ysyx.ysyx_admin.pojo.MenuPojo;
import com.ysyx.ysyx_admin.service.MenuPojoService;
import com.ysyx.ysyx_admin.mapper.MenuPojoMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Lenovo
 * @description 针对表【menu_inf(菜单表)】的数据库操作Service实现
 * @createDate 2023-04-17 15:39:53
 */
@Service
public class MenuPojoServiceImpl implements MenuPojoService {

    @Autowired
    private MenuPojoMapper menuPojoMapper;

    @Override
    public List<MenuPojo> showMenu() {
        List<MenuPojo> menuInfPojos = menuPojoMapper.showMenu();
        return menuInfPojos;
    }
}




